#!/bin/bash

echo -n "enter password:"
read PSW

function upload(){
    echo 'prom
    mput *.php
    exit' | ftp $1
}

upload ftp://u957974382:$PSW@31.170.165.119
upload ftp://u144373643:$PSW@31.170.164.235

echo http://inu1255.esy.es
echo http://keg1255.esy.es
